﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Interfleet.SE.UICompiler.Core.ClosureCompiler
{
    /// <summary>
    /// <para>
    /// The available compile options for the Closure Compiler Java component.
    /// </para>
    /// <para>
    /// The following optinos are available for this compiler: WHITESPACE_ONLY,  SIMPLE_OPTIMIZATIONS, ADVANCED_OPTIMIZATIONS
    /// </para>
    /// </summary>
    public class CCCompileOptions : CompileOptions
    {
        /// <summary>
        /// The available compile options
        /// </summary>
        public override string[] Options
        {
            get { return new string[] { "WHITESPACE_ONLY", "SIMPLE_OPTIMIZATIONS", "ADVANCED_OPTIMIZATIONS" }; }
        }

        /// <summary>
        /// Use the corresponding option as default
        /// </summary>
        public override int PreselectedIndex
        {
            get
            {
                return 1;
            }
        }
    }
}
